<?php

/**
* @Author:  	Daniel Dinh
* @Email:   	webdevelopmentvn@gmail.com
* @Link: 		http://joomsoft.net
* @Version: 	1.0
* @copyright:	Joomsoft.net
* @license:		GNU Lesser GPL
*/

// No direct access.
defined('_JEXEC') or die;

jimport('joomla.application.component.view');

class FarmacityViewPeriods extends JView
{
	protected $state;
	protected $form;
	protected $item;
	protected $return_page;

	function display($tpl = null)
	{
		// Initialise variables.
		$doc = & JFactory::getDocument();
		$app		= JFactory::getApplication();
		$user		= JFactory::getUser();
		$dispatcher = JDispatcher::getInstance();
		$doc->addStyleSheet(JURI::root().'components/com_farmacity/assets/css/farmacity.css');
		$doc->addScript(JURI::root().'components/com_farmacity/assets/js/script.js');
		
		$this->items = $this->get('Items');
		$this->pagination	= $this->get('Pagination');
		parent::display($tpl);
	}
}
